{% extends 'base.html' %}
{% from 'bootstrap/form.html' import render_form %}

{% block title %}注册{% endblock %}

{% block content %}
    <div class="jumbotron">
        <div class="row">
            <div class="col-md-8">
                <img src="{{ url_for('static', filename='images/index.jpeg') }}" class="rounded img-fluid">
            </div>
            <div class="col-md-4">
                <div class="card mb-3 w-100 bg-light">
                    <div class="card-header"><h4>欢迎来到博客!</h4></div>
                    <div class="card-body">
                        {{ render_form(form) }}
                        <hr>
                        <small>已经注册了? <a href="{{ url_for('auth.login') }}">点我进行登录</a>
                        </small>
                    </div>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
